package com.lms.dto;

import com.lms.domain.Profile;

public class ProfileMapper {
	
	public static ProfileDto mapProfile(Profile profile) {
		ProfileDto dto = new ProfileDto();
		dto.setId(profile.getId());
		dto.setFirstName(profile.getFirstName());
		dto.setLastName(profile.getLastName());
		//dto.setUsername(profile.getUsername().getUsername());
		dto.setAddress(profile.getAddress());
		dto.setPhone(profile.getPhone());
		dto.setPanNo(profile.getPanNo());
		return dto;
}


}
